<template>
	<view>
		<uni-nav-bar left-icon="arrowthinleft" title="银行账户管理" :border="false" :fixed="true" bg="bg-fff" color="#333" @clickLeft="goBack()"></uni-nav-bar>
		<view class="bg-f7f7f7 w100" style="height: 10rpx;"></view>
		<view v-if="fromType != 'shop'" @click="jump('/pages/my/setWithdrawInfo?type=wechat')" class="h45 flex solid-bottom justify-between align-center padding-x-30">
			<text class="fs-30 color-333">绑定微信</text>
			<image src="../../static/img/next2.png" style="width: 12rpx;height: 24rpx;"></image>
		</view>
		<view  v-if="fromType != 'shop'" @click="jump('/pages/my/setWithdrawInfo?type=alipay')" class="h45 flex solid-bottom justify-between align-center padding-x-30">
			<text class="fs-30 color-333">绑定支付宝</text>
			<image src="../../static/img/next2.png" style="width: 12rpx;height: 24rpx;"></image>
		</view>
		<view v-if="fromType == 'shop'" @click="jump('/pages/my/tixian?type=deposit')" class="h45 flex solid-bottom justify-between align-center padding-x-30">
			<text class="fs-30 color-333">去提现</text>
			<image src="../../static/img/next2.png" style="width: 12rpx;height: 24rpx;"></image>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				fromType:''
			}
		},
		onLoad(opt) {
			this.fromType = opt.type
		}
	}
</script>

<style>
</style>
